/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.mapper.hr.recruitment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.plian.system.entity.hr.recruitment.RecruitmentManagement;
import com.plian.system.vo.hr.employment.EnterpriseRecruitmentVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 招聘管理 Mapper 接口
 *
 * @author gangan
 * @since 2019-11-15
 */
public interface RecruitmentManagementMapper extends BaseMapper<RecruitmentManagement> {

	/**
	 * 招聘信息统计表
	 * @param companyNameIds 单位Id
	 * @param recruitmentAttributeId 招聘属性
	 * @param recruitmentMethodsId 招聘方式
	 * @param recruitmentTimeStart 招聘时间起始
	 * @param recruitmentTimeEnd 招聘时间结束
	 * @return List<RecruitmentManagement>
	 */
	List<RecruitmentManagement> reportDataPage(@Param("companyNameIds") List<String> companyNameIds,
												 @Param("recruitmentAttributeId") String recruitmentAttributeId,
												 @Param("recruitmentMethodsId") String recruitmentMethodsId,
												 @Param("recruitmentTimeStart") Date recruitmentTimeStart,
												 @Param("recruitmentTimeEnd") Date recruitmentTimeEnd);

	/**
	 * 招聘信息统计表
	 * @param companyNameIds 单位Id
	 * @param recruitmentMethodsIds 招聘方式
	 * @param recruitmentTimeStart 招聘时间起始
	 * @param recruitmentTimeEnd 招聘时间结束
	 * @return List<EnterpriseRecruitmentVO>
	 */
	List<EnterpriseRecruitmentVO> attributeReportPage(@Param("companyNameIds") List<String> companyNameIds,
													  @Param("recruitmentMethodsIds") List<String> recruitmentMethodsIds,
													  @Param("recruitmentTimeStart") Date recruitmentTimeStart,
													  @Param("recruitmentTimeEnd") Date recruitmentTimeEnd);

}
